CREATE ENUM Status VALUES {`ACTIVE`, `DISABLED`};
CREATE INDEX ON :`label`;
CREATE INDEX ON :`label2`(`prop2`);
CREATE INDEX ON :`label2`(`prop`);
CREATE POINT INDEX ON :has_coord(coord);
CREATE CONSTRAINT ON (u:`label`) ASSERT EXISTS (u.`ext`);
CREATE CONSTRAINT ON (u:`label2`) ASSERT u.`prop2`, u.`prop` IS UNIQUE;
CREATE CONSTRAINT ON (n:label) ASSERT n.is_string IS TYPED STRING;
CREATE CONSTRAINT ON (n:label) ASSERT n.is_int IS TYPED INTEGER;
CREATE CONSTRAINT ON (n:label) ASSERT n.is_list IS TYPED LIST;
CREATE CONSTRAINT ON (n:label) ASSERT n.is_enum IS TYPED ENUM;
CREATE CONSTRAINT ON (n:label) ASSERT n.is_point IS TYPED POINT;
CREATE VECTOR INDEX vector_index_name ON :Label(embedding) WITH CONFIG {"dimension": 3, "capacity": 1000};
CREATE INDEX ON :__mg_vertex__(__mg_id__);
CREATE (:__mg_vertex__:`label2` {__mg_id__: 0, `prop2`: ["kaj", 2, Null, {`prop4`: -1.341}], `ext`: 2, `prop`: "joj"});
CREATE (:__mg_vertex__:`label2`:`label` {__mg_id__: 1, `ext`: 2, `prop`: "joj"});
CREATE (:__mg_vertex__:`label2` {__mg_id__: 2, `prop2`: 2, `prop`: 1, `status`: Status::ACTIVE});
CREATE (:__mg_vertex__:`label2` {__mg_id__: 3, `prop2`: 2, `prop`: 2, `status`: Status::DISABLED});
CREATE (:__mg_vertex__:`has_coord` {__mg_id__: 4, `coord`: point({x:-73.93, y:40.73, crs:'wgs-84'})});
CREATE (:__mg_vertex__:`has_coord` {__mg_id__: 5, `coord`: point({x:-73.93, y:40.73, z:10, srid:4979})});
CREATE (:__mg_vertex__:`has_coord` {__mg_id__: 6, `coord`: point({x:0, y:1})});
CREATE (:__mg_vertex__:`has_coord` {__mg_id__: 7, `coord`: point({x:0, y:1, z:2})});
CREATE (:__mg_vertex__:`edge_index_from` {__mg_id__: 8})
CREATE (:__mg_vertex__:`edge_index_to` {__mg_id__: 9});
CREATE (:__mg_vertex__:Label {__mg_id__: 10, embedding: [1,2,3]});
MATCH (u:__mg_vertex__), (v:__mg_vertex__) WHERE u.__mg_id__ = 1 AND v.__mg_id__ = 0 CREATE (u)-[:`link` {`ext`: [false, {`k`: "l"}], `prop`: -1}]->(v);
MATCH (u:__mg_vertex__), (v:__mg_vertex__) WHERE u.__mg_id__ = 1 AND v.__mg_id__ = 1 CREATE (u)-[:`link` {`ext`: [false, {`k`: "l"}], `prop`: -1}]->(v);
MATCH (u:__mg_vertex__), (v:__mg_vertex__) WHERE u.__mg_id__ = 1 AND v.__mg_id__ = 2 CREATE (u)-[:`link` {`ext`: [false, {`k`: "l"}], `prop`: -1}]->(v);
MATCH (u:__mg_vertex__), (v:__mg_vertex__) WHERE u.__mg_id__ = 1 AND v.__mg_id__ = 3 CREATE (u)-[:`link` {`ext`: [false, {`k`: "l"}], `prop`: -1}]->(v);
MATCH (u:__mg_vertex__), (v:__mg_vertex__) WHERE u.__mg_id__ = 8 AND v.__mg_id__ = 9 CREATE (u)-[r:`edge_type`]->(v);
MATCH (u:__mg_vertex__), (v:__mg_vertex__) WHERE u.__mg_id__ = 8 AND v.__mg_id__ = 9 CREATE (u)-[r:`edge_type` {`prop`: 1}]->(v);
DROP INDEX ON :__mg_vertex__(__mg_id__);
MATCH (u) REMOVE u:__mg_vertex__, u.__mg_id__;
CREATE EDGE INDEX ON :`edge_type`;
CREATE EDGE INDEX ON :`edge_type`(`prop`);
ANALYZE GRAPH;
